package cn.ac.jaas.isc.vegetable.pbms.service;

import cn.ac.jaas.isc.vegetable.common.core.util.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcManufacturer;

/**
 * 厂商表
 *
 * @author 张高昌
 * @date 2022-05-14 17:41:34
 */
public interface ArcManufacturerService extends IService<ArcManufacturer> {

    /**
     * 分页查询
     *
     * @param page
     * @param arcManufacturer
     * @return
     */
    Page getArcManufacturerPage(Page page, ArcManufacturer arcManufacturer);

    /**
     * 新增厂商
     *
     * @param arcManufacturer
     * @return
     */
    R saveManufacturer(ArcManufacturer arcManufacturer);

    /**
     * 根据id修改厂商
     *
     * @param arcManufacturer
     * @return
     */
    R updateManufacturerById(ArcManufacturer arcManufacturer);

    /**
     * 根据id删除厂商
     *
     * @param manufacturerId
     * @return
     */
    R removeManufacturerById(Integer manufacturerId);

}
